aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/ln/[lnurl]/+page.server.ts
Commit message (Collapse)AuthorAgeFilesLines
* send: quote the lightning routing fee up front and add Max to lightning sendsAdam Soltys2026-09-211-1/+54
| | | | | | | | | | | | | | | | | | | The lightning send page now asks the server what the payment will cost before showing the Send button: the exact routing fee from the route query, the platform fee, and the total. The quoted fee is submitted as the maxfee, so what the user sees is what gets debited; advanced settings still let them override it, and if the quote fails the page falls back to the old 2% reserve. Max on the amount step asks the server for the largest amount whose amount + routing fee + platform fee lands exactly on the balance, and for an offer picks up the invoice fetched for that exact amount. LNURL-pay gets a Max button too. The invoice only exists once we name an amount, so the action fetches a probe invoice at the ceiling, lets the server solve for the amount, then fetches the real invoice for it. Co-Authored-By: Claude Fable 5.1 <[email protected]>
* use searchparams for lnurlAdam Soltys2026-03-271-2/+4
|
* lnurl proxyAdam Soltys2026-03-271-3/+6
|
* Fix subdomain matching in LNURL callback redirectAdam Soltys2026-02-251-2/+2
| | | | Co-Authored-By: Claude Opus 4.6 <[email protected]>
* fix redirectAdam Soltys2025-08-181-2/+4
|
* make lnurl route publicAdam Soltys2025-08-101-2/+1
|
* handle callbacks with paramsAdam Soltys2025-08-061-2/+6
|
* handle no invoiceAdam Soltys2025-08-061-7/+4
|
* loggingAdam Soltys2025-08-061-0/+5
|
* handle null tipsAdam Soltys2025-07-191-12/+4
|
* handle tipping for lnurls, sweep fixesAdam Soltys2025-07-191-12/+16
|
* user lnurlAdam Soltys2025-06-231-16/+35
|
* handle lnurlp with fixed amountAdam Soltys2025-05-071-0/+14
|
* encode commentsAdam Soltys2025-01-251-1/+1
|
* capture ln commentsAdam Soltys2025-01-251-1/+3
|
* nostr sign inAdam Soltys2025-01-031-2/+0
|
* create fundAdam Soltys2024-12-241-2/+7
|
* fix lnurl rateAdam Soltys2024-12-071-6/+6
|
* cached ratesAdam Soltys2024-12-051-2/+5
|
* biomeAdam Soltys2024-10-311-53/+57
|
* biome formatAdam Soltys2024-10-181-3/+2
|
* hide maxfee unless errorAdam Soltys2024-10-141-3/+5
|
* support lnurl commentsAdam Soltys2024-10-141-4/+5
|
* move routesAdam Soltys2024-09-171-1/+1
|
* typescriptAdam Soltys2024-08-311-2/+2
|
* typescriptAdam Soltys2024-08-301-0/+75